﻿using Microsoft.Practices.Prism.PubSubEvents;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Flashlight.Mvvm.Factories
{
    public class LightFactory : ILightFactory
    {
        IEventAggregator _eventAggregator;
        public LightFactory(IEventAggregator eventAggregator)
        {
            _eventAggregator = eventAggregator;
        }

        public Models.Light Create()
        {
            return new Models.Light(_eventAggregator) { };
        }
    }
}
